package utils.tasks;

import game.scene.MatchScene;

public class CenterServeTask extends ExpireTask<MatchScene> {
	
	private MatchScene scene;

	public CenterServeTask(MatchScene callBackClass, MatchScene scene) {
		super(callBackClass);
		this.scene = scene;
	}

	@Override
	public void run() {
		this.getCallBackClass().doCenterServe(this.scene);
	}

}
